package com.zoho.aimei.common;


import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    SUCCESS(200, "成功"),
    NULL_POINT(501, "空指针异常"),
    UNKNOWN_ERROR(500, "未知错误"),
    ;

    // 响应状态码
    private Integer code;
    // 响应信息
    private String message;

    ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
